<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ include file="/WEB-INF/views/include/constrant.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>需求详情</title>
<link href="${ctxStatic }/mui/css/mui.min.css" rel="stylesheet" />
<link rel="stylesheet" href="${ctxStatic }/wx/css/pensonal.css" />
<script type="text/javascript" src="${ctxStatic }/zepto/zepto.min.js" ></script>
</head>
<body>
		<div id="customs-a" class="mui-page">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn  mui-btn-link mui-btn-nav mui-pull-left"  style="color: #fff;">
					<span class="mui-icon mui-icon-left-nav"  style="color: #fff;"></span>需请详情
				</button>
				<h1 class="mui-center mui-title"  style="color: #fff;">响应车队</h1>
			</div>
			<div class="mui-content">
				<input type="hidden" name="demandid" value="${tDemands.demandid}" id="demandid"/>
				<c:set var="genOrdername" value="${tDemands.departcity.sitename}-${tDemands.destcity.sitename}${tDemands.rentdays }日定制包车"/>
						<ul class="mui-table-view customs-body">
						<c:forEach items="${reactList }" var="index">
							<a href="${ctxWx}/custom/booking?reactid=${index.reactid}&demandid=${tDemands.demandid}&typename=${tDemands.cartype.typename }&cargotypeid=${tDemands.cartype.cargotypeid }
							&outtimefee=${tDemands.cartype.outtimefee }&ordername=${genOrdername }&dueamount=${index.price}&ordertype=c&bookingdays=${tDemands.rentdays }&
							realscheid=${index.reactid }&vehiclenum=${tDemands.vehiclenum}&outkmsfee=${tDemands.cartype.outkmsfee}
							&contacts=${tDemands.contactor}&payertel=${tDemands.contactphone}&remarks=${tDemands.remarks }
							&boardaddr=${tDemands.sendAddress }&office.id=${index.office.id }&departdateStr=<fmt:formatDate value="${tDemands.fromdate}" pattern="yyyy-MM-dd HH:mm:ss"/>">
						        <li class="mui-table-view-cell customs-ii ">
						           <div class="mui-col-xs-4 custom-img">
						           	<img src="https://www.xiakeyueche.com${tDemands.cartype.images }" width="100%"/>
						           </div>
						           <div class="mui-col-xs-8 custom-text">
						           	   <p>
						           	   	  <span style="font-size: 16px;">${index.office.abbr }</span>
						           	   	  <span class="remarks">${tDemands.cartype.typename }</span>
						           	   </p>
						           	   <p>
						           	   	  <span><fmt:formatDate value="${index.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/></span>
						           	   	  <span class="custom-lists-m" >￥${index.price }</span>
						           	   </p>
						           	   <p>
						           	   	  <span class="remarks">${index.remarks }</span>
						           	   </p>
						           </div>
						        </li>
						        </a>
						  </c:forEach>  
						   </ul>
			</div>

		</div>
		<script src="${ctxStatic }/mui/js/mui.min.js"></script>
		<script type="text/javascript">
			mui.init()
			Zepto(function(){
			})
		</script>
	</body>
</html>